package _16_hash_table;

import com.google.common.hash.HashCode;
import com.google.common.hash.Hashing;
import org.junit.Test;

import java.nio.charset.StandardCharsets;

/**
 * @author: mornd
 * @dateTime: 2023/6/20 - 18:57
 */
public class MurMurHashTest {
    @Test
    public void test() {
        System.out.println("abc".hashCode());
        HashCode hashCode = Hashing.murmur3_32().hashString("abc", StandardCharsets.UTF_8);
        System.out.println(hashCode.asInt());
    }
}
